//
//  MyTableViewCell.m
//  日夜间(范阳)
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 dllo. All rights reserved.
//

#import "MyTableViewCell.h"

@implementation MyTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self NightWithType:UIViewColorTypeNormal];
        self.textLabel.font = [FontSizeManage ChangeSize].contectFont;
        [self.textLabel NightWithType:UIViewColorTypeNormal];
    }
    return self;
}
#pragma mark -开始监听
-(void)information
{
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(setFontSize:) name:@"changeFontSize" object:nil];
}
-(void)setFontSize:(NSNotification *)notification
{
    self.textLabel.font = (UIFont *)[notification object];
}

@end
